package me.sealer.ssm.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 功能描述： $ DeleteMenuRequest
 *
 * @author sealer
 * @email 1178884049@qq.com
 * @date 2020年01月10日 11时06分39秒
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "菜单删除请求报文体")
public class DeleteMenuRequest {
    @NotNull(message = "菜单id不能为空")
    @ApiModelProperty(value = "菜单id", required = true)
    private Integer id;

    @NotBlank(message = "菜单别名不能为空")
    @ApiModelProperty(value = "菜单别名", required = true)
    private String alias;

    @NotBlank(message = "菜单类型不能为空")
    @ApiModelProperty(value = "菜单类型", required = true)
    private String type;
}
